const closemanege = {
  state: {
    areaDialog: false,
    closeAreaList: [], // 自有封闭区权限
    closeAreaValue: "", // 自有封闭区权限值
    isCloseArea: false
  },
  mutations: {
    AREA_DIALOG: (state, type) => {
      state.areaDialog = type;
    },
    CHANGE_CLOSE_AREALIST: (state, list) => {
      state.closeAreaList = list;
    },
    CHANGE_CLOSE_AREAVALUE: (state, value) => {
      state.closeAreaValue = value;
    },
    GET_CLOSE_AREAROUTER: (state, type) => {
      console.log(type);
      state.isCloseArea = type;
    }
  }
};
export default closemanege;
